package org.dromara.mall.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.mybatis.core.domain.BaseEntity;

import java.io.Serial;
import java.util.List;

/**
 * 菜单信息实体类
 */

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("mall_menu")
public class MallMenu extends BaseEntity {

  @Serial
  private static final long serialVersionUID = 1L;

  private Long id;

  private String name;

  private Long parentId;

  private Long sort;

  private String status;

  private Long iconPc;

  private Long iconApp;

  private String remark;

//  其他字段
  @TableField(exist = false)
  private String url;

  @TableField(exist = false)
  private List children;

  @TableField(exist = false)
  private List goods;

}
